﻿// ** Step 3: Add AppLauncher JS:  **//
(function () {
    'use strict';
    var controllerId = 'applauncher';
    var app = angular.module('app');
    app.controller(controllerId, ['common', 'spappcontext', applauncher]);

    function applauncher(common, spappcontext) {
        var getLogFn = common.logger.getLogFn;
        var log = getLogFn(controllerId);
        activate();
        function activate() {
            common.activateController([], controllerId)
                .then(function () { log('Activated App Launcher View'); });
        }

    }
})();